home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / windows / r3fsave.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.6 KB  |  66 lines

  1.  
  2. // JavaScript wrapper for r3fsave.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_FILESAVE_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_FILESAVE = 17;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Used internally for mapchanges.    
  16.  
  17. R3SAVE_FILE = 17005;
  18.  
  19. function mR3SAVE_FILE() {
  20.   DoA(this.r3obj, 17005, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23. // Description: used internally for enumerating installed file formats    
  24.  
  25. R3SAVE_ADDFORMAT = 17006;
  26.  
  27. function mR3SAVE_ADDFORMAT() {
  28.   DoA(this.r3obj, 17006, 0, R3TID_INTEGER, 0);
  29. }
  30.  
  31. // Description: Register file format specific model and gadget. When the user selects the filer format
  32. //      in question, the corresponding gadget is automatically shown in the 'Save As' window. The model
  33. //      is passed to export method in 'p1'.
  34. // p1: Integer, class id of the file format
  35. // p2: Integer, class id of the model
  36. // p3: Integer, class id for the gadget
  37.  
  38. R3CSAVE_REGISTERGADGET = 17007;
  39.  
  40. function mR3CSAVE_REGISTERGADGET(p1, p2, p3) {
  41.   DoA3(this.r3obj, 17007, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  42. }
  43.  
  44.  
  45.  
  46.  
  47. var R3FSAVEA_UpdateThumbnailObj = 17500; // Object
  48. var R3FSAVEA_UpdateThumbnailMth = 17501; // Integer
  49. var R3FSAVEA_FormatClid = 17502; // Integer
  50.  
  51.  
  52. function r3Filesave () { 
  53.    this.base = r3God;
  54.    if(arguments.length) {
  55.       this.base(R3CLID_FILESAVE, arguments);
  56.    }
  57.    // Methods
  58.    this.FILE=mR3SAVE_FILE;
  59.    this.ADDFORMAT=mR3SAVE_ADDFORMAT;
  60.    this.REGISTERGADGET=mR3CSAVE_REGISTERGADGET;
  61.  
  62.    // Attributes
  63. }
  64.  
  65. r3Filesave.prototype=new r3Window;
  66. // r3fsave.h_H